import request from "@/utils/request";
export default {
    getdata(str, datas) {
        //请求头
        let Head = {
            Token: "",
            LoginToken: "",
            DistrictId: "8f9e7d16-5eb2-4904-93f8-e17753b6e72f",
            CityCode: "1",
            CityId: "312d0556-0671-4f2e-8bac-7b8873b5a03a",
            DeviceId: "9d8f1069577955a2ce3c1ea44751b1cc",
            MobileOS: "Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/12.0 Mobile/15A372 Safari/604.1",
        }
        let Body = "";
        Body = datas;
        let beforeurl = "https://b2capigateway.yiguo.com/api/";
        let baseurl = "?appName=3000025";
        return request({
            method: 'post',
            url: beforeurl + str + baseurl,
            data: {
                Head,
                Body
            }
        });
    }
}